package com.chance.cc.crawler.development.command.schedule.xhs;

import com.chance.cc.crawler.development.command.schedule.CrawlerJobScheduleCommand;
import com.chance.cc.crawler.development.command.trigger.domain.xhs.XHSPSearchHighScheduleTrigger;

/**
 * @author bx
 * @date 2020/12/7 0007 10:23
 */
public class XHSPSearchHighCrawlerJobSchedule {

    private static CrawlerJobScheduleCommand crawlerJobScheduleCommand =
            new CrawlerJobScheduleCommand("192.168.1.215",9589);

    public static void main(String[] args) {

        publishPhoneCrawlerJobInfo(XHSPSearchHighScheduleTrigger.tringgerKey);

    }

    public static void publishPhoneCrawlerJobInfo(String triggerKey){
        crawlerJobScheduleCommand.republishCrawlerJob(triggerKey,"crawler_dev_host");
    }
}
